home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / ExternalShellP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-29  |  1.9 KB  |  59 lines

  1. /* External shell widget internal header file.
  2.    Copyright (C) 1993, 1994 Sun Microsystems, Inc.
  3.  
  4. This library is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU Library General Public
  6. License as published by the Free Software Foundation; either
  7. version 2 of the License, or (at your option) any later version.
  8.  
  9. This library is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  12. Library General Public License for more details.
  13.  
  14. You should have received a copy of the GNU Library General Public
  15. License along with this library; if not, write to the Free
  16. Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
  17.  
  18. /* Synched up with: Not in FSF. */
  19.  
  20. /* Written by Ben Wing, September 1993. */
  21.  
  22. #ifndef _ExternalShellP_h
  23. #define _ExternalShellP_h
  24.  
  25. #include "xintrinsic.h"
  26. #include <X11/ShellP.h>
  27. #include "ExternalShell.h"
  28.  
  29. typedef struct {        /* new fields for ExternalShell class */
  30.    int dummy;
  31. } ExternalShellClassPart;
  32.  
  33. typedef struct _ExternalShellClassRec {    /* full class record declaration */
  34.     CoreClassPart core_class;
  35.     CompositeClassPart composite_class;
  36.     ShellClassPart shell_class;
  37.     ExternalShellClassPart externalShell_class;
  38. } ExternalShellClassRec;
  39.  
  40. typedef struct {        /* new fields for ExternalShell widget */
  41.     Window external_window;    /* an already-created window to run on */
  42.     Bool dead_client;        /* is the client dead? */
  43.     unsigned long client_timeout;/* how long to wait for client's response */
  44.  
  45.     /* private */
  46.     unsigned char client_type;
  47. } ExternalShellPart;
  48.  
  49. typedef struct _ExternalShellRec {    /* full instance record */
  50.     CorePart core;
  51.     CompositePart composite;
  52.     ShellPart shell;
  53.     ExternalShellPart externalShell;
  54. } ExternalShellRec;
  55.  
  56. extern ExternalShellClassRec externalShellClassRec;     /* class pointer */
  57.  
  58. #endif /* _ExternalShellP_h */
  59.